    res.json({
      authentication: jwtToken,
    });
  },
);

route.post(
  '/api/register-local',
  checkSchema(UserLoginValidationSchema),
  async (req: Request, res: Response) => {
    const result = validationResult(req);
    if (!result.isEmpty()) {