add local addr for renren user picture
fix the select problem
add match function base
refactor code