User model added validation
Merge pull request #24 from Asja/users

User model added validation