Fix graphs getting reset on login