query for current session on page load