add session manager struct to manage sessions