Attempted to optimise DB cache in plugins/user.js