get id from server