Fix session bug on homepage