set up database and secure passwords