public IActionResult Authenticate([FromBody] AuthenticateModel model)
        {
            var user = _authenticateBusiness.Authenticate(model.Email, model.Password, model.RememberMe);

            if (user == null)
            {
                return(BadRequest(new { message = "Emailid or password is incorrect" }));
            }
            return(Ok(user));
        }