Added getCookie() method to return cookie from private session obj