def find_user(collection, elements, multiple=False):
    """ Function to retrieve single or multiple user from a provided
    Collection using a dictionary containing a user's elements.
    """
    if multiple:
        results = collection.find(elements)
        return [r for r in results]
    else:
        return collection.find_one(elements)