Add router, fix connect cookie session originalUrl, refactor widget, clean up config