refactor admin page to use server template :battery: (much smaller front-end js code)