started the getfavorites api method (not working yet)