public ActionResult Register(UserForRegisterDto userForRegisterDto)
        {
            var userExists = _authService.UserExists(userForRegisterDto.Email);

            if (!userExists.Success)
            {
                return(BadRequest(userExists.Message));
            }

            var registerResult = _authService.Register(userForRegisterDto, userForRegisterDto.Password);

            _authService.AddUserDefaultClaim(userForRegisterDto);

            var result = _authService.CreateAccessToken(registerResult.Data);

            if (result.Success)
            {
                return(Ok(result.Data));
            }

            return(BadRequest(result.Message));
        }