Moved all form verification into models and out of controller. Updated API URIs with version. Fixed template bugs