Removed testing stuff and added check for adminship