Added admin section to the event handler