still struggling with routes and logic