added "add to favorites" api method