the algorithm for finding the path does not neccessarily gives us the shortest path, but now we can search from a users profile