fix bug in login page