Resolves #5610 And address various questions regarding to how to use user proxy agent and human-in-the-loop.