Validated signup to an extent.

checked for null value