def in_progress
    raise 'Unsupported request' if not request.xhr?
    task = Task.find_by_id params[:id]
    return render json: {:message => 'Cannot find the task!'}, status: 403 if task.nil?
    authorize task