function to find user by interests