Add controller for admin page with functions