Validates and admin not working