Adds validation of signature