fix #1314 Pass username to makeapi