Add route template and function to admin