added client side validation gem