Attempting to refresh the session (browser reaload) automatically