Updated routes for POST. project_body(Model, permission) updated. Updated javascript to use new API routes. Updated tests corresponding to changes