added user validations and tests
Merge pull request #23 from inoda/models-migrations

added user validations and tests