fix login and signup when login