How can create login form

Hi,
I need to create a form login, I need to select a list box for only user exist and update role, how can do it?

Hi, I have this page with 2 modules. For register ok. For login, how can add a rule when payment is done?