add feature for favorite and comment