created framework for admin panel