Added signature verification functions