The questions is very simple and the task is difficult. Which functions I need to create a new login form from scratch in Drupal 7?
The reason I need this is because I modified the default login form. It connects to a web service with two different methods and it has different validates, depends from a user roles and lots of customized stuff.
Right now to login as admin, I have to comment my custom module, so I can use the default login form.
I need to create a new login form on different page that will be dedicated to admin user.