Fix user calendar db retrieval
fix image caching issue