connect to the backend and fix the ui bug

Signed-off-by: cncduLee <shouli1990@gmail.com>