Require login before widget actions
Error check on widget display
Added widget setting model/db