add validations for tip model
Merge branch 'master' of https://github.com/dyg2104/newstips