added ability to have multiple sessions