Added username back and validator.
Added username validator.
Added register logic.
Finished register page.