added PUT, PATCH, AND DELETE methods to cors before/after filters in api/v1/base_controller