GET and POST are now working and I have resolved the issue with the controller running twice on every page load