add form validation in both server and client