added server sided route for mongodb data fetch