Event controller updated so that events page doesn't crash when an event is clicked on by a non-logged in user