many additions and adjustments for vm create on login