In order to clean up the RepoCard component on the front end, the API should serve consistent JSON across end points whether users are logged in or not. In particular: (repo.userId.username <-> repo.username) and (repo._id <-> repo.id) should both be reduced to a single form.