Navigating to registrationpage from loginpage works