Add the server session management--a simple implementation