Refactoring of the login page.