now you've cut out too much. `webmaker-loginapi` gives your app a new route, `/user/:userid` which can be used to get a logged in user's webmaker username. You can't just rely on `req.session.username` existing, your app still needs to first hit that route before the session value gets set. I'd suggest:

```
Add `webmaker-loginapi` to your package.json, and follow its instructions in the README at
https://github.com/mozilla/node-webmaker-loginapi. The module will give your app a new route,
`/user/:userid`, which can be used to get a user's webmaker username. Calling the route with a
persona email as userid will either set a session value `req.session.username` to the user's
webmaker username, if they have one, or will not add the `username` property on `req.session`,
signalling that the user is either unknown entirely, or does not have a username associated with
his or her persona login. For more detailed information, see the node-webmaker-loginapi repository.
```