IssueID #15: add CORS to all methods and add OPTIONS method on the rest API