Remove session and change one example for api visit