added some functinality to admin side