Add views module.
Add tradinglog form submit handler function.