Got the main page not refreshing and re-styled