public function getUserSessions() { return $this->hasMany(UserSession::className(), ['session_id' => 'id']); }