added IP parsing functions
added notice to users about IP addr collection, & fixed issue with timestamp parsing from database
added functionality to send email to admins on internal error
added check to prevent the same user from submitting multiple reports for the same link, and cleaned code