added digest authentication