updated "add to favorites" api method to return the object just added