create error handling for login and signup
fix merge conflict