check login on settingschange