Added if statement for home page