removed nil value from admin factory
added validations to provider model