added operation to signing message
better logging