fixed login and activation caching