Handling static routes first