public static function clear()
 {
     foreach (SessionStorage::getAll() as $key => $value) {
         if (strpos($key, self::$FLASH_MESSAGE_PREFIX) === 0) {
             SessionStorage::delete($key);
         }
     }
 }
 public function logout()
 {
     SessionStorage::delete(self::$USER_VAR);
 }