Implemented credential reader.