Support for user_data

I have added support to pass user_data to the vm instance.