Added client side checks for email validation and minimum password length