update users controller to disallow duplicate username entries in db; incorporate environment-specific configuration file; update package.json to include additional dependencies