Implement (imperfect) validation on login and sign-up forms.