added validations to answers controller