set up sessions