refactored user model
added error messages to forms