As it stands, the login function also creates the user.  Would you like me to instead refactor that method (in common.py) to take in an optional argument stating if the user is a new user or not?