Store accounts in the database