fix user refresh