started working on adminpage and eventpage