replace blank database and encrypt password everywhere