made the forms work with the updated routes and models, update to ajax calls to fix errors