added test IP function
fixed compile error
removed ip test function
added router IP test address
fixed header typo
fixed issue with recording user IP address & Heroku's reverse routing
added verbose output for heroku production flag
fixed missing global variable
removed unneeded logging statement