public function actionIndex()
{
$accountident = Yii::$app->user->identity->account;
$users = $db->createCommand("SELECT * FROM transactions WHERE sender='$accountident' AND payee='$accountident'")->queryAll();
$dataProvider = new ArrayDataProvider([
'allModels' => $users,
]);
return $this->render('index', [
'dataProvider' => $dataProvider,
]);
}