added cors support
Made some changes to enable cors and added more columns to mongoose schema