added indices on search key and id for mongo