add ui and fix server