login and vhost can now be fetched from the connection class