added constructor for connections without authentication