Add basic auth and log gestion