Fix for missing username in project view.

login() returns a token, not the logged in user, so retrieving the user to get the username.
IMO the best fix is to change the line above to the following

```js
token.user(function (err, user) {
```

Plus don't forget to handle the error in this new callback.