registerUser
Registers a new user with the given email and password.
Parameters
email
the email used to register a user. This will be the username used during log in.
password
the password associated with the email. The password must be between 6 and 128 characters long.
Throws
if the server failed to register the user.