added validations to league model