backend for getting friendlist