refactored admin and added source deletion view handling and templates