Add password database and encryption code