moved profiles manipulation to separate service