restrict the number of users to 1000 when seeking for the most similar friends. need to find a solution to reduce the amount of memory used when loading all the users and their friends: either do a lazy load or try to using mongoDB