Adding admin panel code