sessions functioning and tested