add state for home page