adding user_id to connections