Auth guard is not returning correct logged state of the user on refreshing the page directly from the browser. 