Added session library and encryption key