adding allowed methods CORS headers
fixing posted messages not queueing