Added password migration and set up environments