Moved admin check to model