Changed friend to user_id to get dependence