add session key to config file