Make sure session is set