Added metadata and digest auth