updated user model validation
added RandomString function
added hasher function