Refatoring ManagerController. Improving peforming.