Created SmartAccountContext and SocialLoginContext similar to Biconomy example SDK. Link - https://github.com/bcnmy/sdk-examples/tree/master/react-biconomy-web3Auth
In the Header.js, we are calling the connect or disconnect functions from web3AuthContext present in SocialLoginContext file.