Implemented credential save