Fix bug in user.js with databases not closing