reg form built adds to sqlite  database