can now change user passwords and also waits for the server to be ready before updating database tables