added a comment for demonstration
added basic authentication to the submit page
added receiving functions for callouts from publishing server
fixed the missing db handles added to functions
added smtp username and passwords
cleaned up to match the format for other line breaking strings