Implemented signature verification