pass response codes from http methods, check pending transactions
on vm actions, add vm reboot