Implemented support for connecting with an alternative id
More and improved examples