adding api-functions/logout.rb