finshing admin UI with refactors