NextJs spam refreshing page when user is logged in - Theo's Typesafe Cult