Added accounts page refresh logic