getSession after connection