home page works and no longer requires refresh