Non-optimal solution? Using Eid to determine if we should create new document in mongodb or update retrieved document