Added callback functionality on the newUser function and the importLib function so that we are able to nest the callback when creating a user and trying to query. Otherwise the client would query before the user has been fully inserted.