Registration form validation step 1

Validates step 1 of registration form
Fixes #7 and fixes #8