added vlidations for user model
added duplicaton tests
turned off sql debugging
changed error message for role validation