Persist user logged in status after after page reload