Improved login page.
Refactoring.