fixed issue where db was not initialized when changing admin pw