Code clean up for EventService and EventController
Added logout button if the user is logged in