added form validation with PUO and LUO