Added friends api and changed color based on distance