user: make User model pass all tests