Add validations to note model
Show validation errors in response