modified pin view user_id to user