store auth info in local storage at login then update context by updating state using useEffect in AuthProvider.js