to add the server session handler