fixed login cache