Completed moving controller from front to admin