Updated the login panel to support an event manager
Started refactoring the controllers for better event manager awareness