code close to complete. Only need to fix the email, and finalize the
database.