Add validation o client side