define front-end route to load view