refactored event handling code to be easier extended for other event types
cleaned up routing and templates
added dashboard page