Fix bug on login page