migrating the views to be admin views.

generating the get_urls dynamically and
support permissions.