create settings controller to toggle connection with AD