fixed display of logged in user on homepage