add router.refresh, and pass action to router handlers