Set up url patterns.