added validations to mytale model