How can I go to a specific page based on user-input?