Signature generation and saving to database done