Backend code to insert passwords for users.