Added functions file for admin ui alterations