Registers a new user with the provided body information.
A UserDto representing the registered user.
The LoginDto containing registration information.