saved make accounts data to database

I have completed  code to connect and save make accounts details to the
database.