The ```set_redirect_url()``` method should take the route name of your login page.
## Using the Materials API in a Flask route
Again, there are examples of this in the template. You must use the ```@using_materials``` decorator before the route function definition. This will give you access to a ```Materials``` client object which you can use to make requests.