added getting of uid