add user map api
v0.2 add mapping username and smarter upstream_file