Fix url patterns and httpresponses.