enabled app refresh page when token is invalid