changed authentication behaviour for home page