changed UserSchema to User