public async Task <IActionResult> Authentication(UserLogin login)
        {
            var user = await _userLoginService.SelectValidUser(login);

            if (user != null)
            {
                var token = GenerateToken(user);
                return(Ok(new { token }));
            }
            return(NotFound());
        }