added code for admin menu