connect session events to route actions in beforeModel, see #199