make home page work