add dot-middleware and front-end navigation