added withBasicAuthentication