Fix router url
Implement router to handle default route based on loggedin status