Cleaned up controllers, added GET/POST headers