implement .length() template function
improve admin panel UI