removed the session vaiables from class