fixed errors with login and signup