Well thought to share an answer on how I dealt with this problem.
I created a flow chart on the process of Authentication and what I was missing is the state which checks whether the checkAuthAction call is completed or not. Only after that do I need to check the isAuthenticated
state to navigate to the login screen.
I have shared the flow chart for better understanding.
Hope this makes sense.
Thanks!