added the account creation and server side validation.