admin pannel mega logic