1. add session mapping between client and server