Fixed some URLs to use url_for.