fixed a new bug in the login page.