Add user,mail UI. Fix several bug