added cached_all function then called it on controllers and it decreased the time of fetching from dtaabase
removed caching bec it was causing problems in UI