added confirm password field and validation, added some fixes for vm manager class