cors added

using the cors middleware to allow for cross origin requests