delete template views and fix admin user interface