Fix some problems:
1. get_by_username is undefined, replaced with _get_by_username
2. when doing search, there are some return datas that are "false". Fix it by judge if it is false.
3. add return data when logging out.
Merge remote-tracking branch 'origin/WLB' into WLB