Registers a new user on the server.
The user information upon successful registration.
The LoginDto containing registration data.