modify user account ui and add register protocol