Update to have 2 init functions depending on page user visits