Added an admin check for the backend