Added register form.

Validate null.