session now working