Implemented MongoDB to get country code