update views and add missing import into url dispatch.