added validation to the schemas
Merge pull request #7 from gpavey/add_mongoose_validation

added validation to the schemas