updated event/eventDispatcher, added event for security.checkRouteRights, fixed view