Set sleep before page_source so you are sure it have load in.
Then find something in source that are there only when logged in and compare.
Then find something in source that are there only when logged in and compare.
time.sleep(6) print(browser.page_source)