added remote logout functionality to settings