introducing session support to server