setup the library to handle backend protected by a username and a password