Implemented adding and updating authentication data.