Fix bug in login page