Front end validation for login and signup is working