Finished remove credential code.