fix bug on login page