Refactor usage of the method getUsersRefDTOByGivenUserIds