Added code to Secure API (insertQuote method)