added home page working, pages click correctly