How to handle authentication in nextJS app with AWS Amplify - Theo's Typesafe Cult