removed ref to user.status from createUser