added isset to session