db validations added
Merge pull request #24 from willtsay/tommy

db validations added
added stuff