switch to using form helpers
adding client validation