Remove session.clear and gem 'rest-client'