potentially fixed a problem with User model