New API: get_user_info
Merge branch 'johnnywsd-master'