Added cors module to myapi.js