added user_id to locations