Added alerts in login and signup.