fix bug on store page login/out