Made the homepage authentication aware