Background: I have a webpage (internal tool) that uses API which is secured with cognito. Current way of creating user in the Pool looks like this: