fixed bug in user schema pre save where this was a promise object and not a new user