add basic credential support