client side validation is added for saving account model

client side validation is added for saving account model