added initial code for admin page