added validations to subscription model