Registering works from the frontend! TODO: Return message on server error.