adjusting the query  and changing the user_id