public function getFlashMessengerMessages() 
    {
        $this->fmContainer = new Container('fms');
        $flashMessages = $this->fmContainer->flashMessages;
        
        if(!empty($flashMessages))
        {
            $flashMessages = array_reverse($flashMessages);
        }
        
        return Json::encode($flashMessages);
    }