add method to support verify_credentials api endpoint