setting up session variable