Removed database connection from submission.js