Added validation to login/signup