Add actual code to navigate to the next page and hide the splash screen after it loads