Fix some errors in models/user.py