fixed bug for login page