Added Payment Records table and separated it from the rest
Added top display box with total amount of pay to the rep with a nice thank you message
(depending on if the rep is viewing it)

Made InvoicedDemo object and UserFunctions include database in initiation to suppress stupid
mysql max_user_connections message