supported use attr to access model
test using attr to access
refined the detail.py
refined the person.py
expaned the getconn and putconn