Storing password into database and reading it back.