complete change settings feature ; add flash messages