broken session controller, so added  bunch of print statement