form validation for register, login, resetpassword but not fancy enough