Added credential validator.DONE