updated saving user_id and link_id for AllCategory