session layer improvement