Minor cleanups on views, templates and url patterns