Clean up controllers

Removed comments, json responses, and added a before filter.