Building a toy social network with Python, Part 3: Logins and user tokens