Moved user.py to models