preping the admin page