created service to retrieve friends, took out of controller.