fixed it so that home link displays if sesion is dead or access denied