Added validations for admin