Improved the login form