Added Validation in Register

Checks if:
-no empty fields
-password matches
-unique email
-password length minimum of 6