Added get feature to fetch data from mongodb local