add function to add person to database
better type checking for dirty database values
add sql queries