building user form on client side