updated login in get_favorites method?