Updated the format and error message of the login page.