Added user form for contact information. Cleaned up code by using jQuery.
fixed cid value in reporting functions