added user auth check on home page