practicing client side validations for a form that takes an email and password