refactor: combine 2 urlpatterns into one