session improvements