Merge pull request #13 from xiaoqin2012/master

merge from xiaoqin
Check person profile before allowing lookup.
Merge pull request #34 from piaw/master

check person profile before lookup