improve err message
Add loggigng
Add loggigng
Add logging
Fix mongo connection string
Fix mongo connection string
Made client side api base url dynamic so dev is easier