Added form validation and a small fix to the response model.
Merge pull request #344 from Jedwondle/master

Added form validation and a small fix to the response model.