public function getData($key, $default = false)
    {
        if ($this->sessionBag->has($key)){
            return $this->sessionBag->get($key);
        } else {
            return $default;
        }
    }