implementation of controller functions and add some utils function inside administration model