Implemented Credential Check