user can now input data thru form. Unique check not working properly