Basic form validation implemented.

To:Do compare passwords