add submit username logic client side