moving to create and manage sessions