added validations to other models
fixed typos in repository model
Merge pull request #4 from dhouk24/new_validations

added validations to other models