add the function to get user by uid
Merge remote-tracking branch 'origin/master'