implemented the home page