Task ontroller added

Test if is possible to enable/disable cors for functions in controller.