I have created a flask app, which has different routes using GET/POST method and works perfectly fine. So, now I have implemented Cognito user-pool due to security, using si