public ActionResult <RegistrationResponse> Register(RegistrationRequest request)
        {
            var appUser = this.mapper.Map <AppUser>(request);

            /* register user: create the entity in database, hash the password, etc. */
            var userDetail = this.authService.Register(appUser);
            var token      = JwtHelper.CreateFromUser(appUser);
            var response   = new RegistrationResponse(userDetail, token);

            return(response);
        }