adding user validations and password field