backend validations
Merge pull request #156 from adamdruppe/validations

 backend validations