auth for home page fix