Fixed issue where setting your settings would log you out.