added support for new connections using shared credentials