set up route and controller action