updated admin ui with lots of js
added sorting