Registers a new user with the provided email, password, and name information.
Sends a POST request to the signup endpoint to create a new user account.
The user's email address.
The user's password.
The user's first name.
The user's last name.
An object containing either the user token on success, or an error message on failure.
Registers a new user with the provided email, password, and name information.
Sends a POST request to the signup endpoint to create a new user account.