small change on api to receive uid