obtains current session