migrated repositories and users search to new api