re-enabling updateLastOnlineTime - calling that middleware for page loads only instead of every API call