Moved Admin functions to its own controller.