Changed session db name to telegramSessions; deleted unused modules; added API_KEY and DOMAIN constants to config.js; broke a long function in user-routes.js into smaller functions; implemented returnUserToClient function; specified logger errors along with err; used fs to load handlebars template.