session now is working