better cache control when user logs on and off