Using redux for a reactjs app and trying to keep track of users being authenticated or not. For auth state isAuthenticated is set to true but goes back to null if there is a