add second method for view or edit event from admin page