changing repositories to PagingAndSortingRepository repositories, adding profiles repository