implement settings controller and template for webapp