add impersonation.rb request
main impersonation functionality