Add http authentification
Improve interface