Create ref_xss2.py

interact with the database