Added example usage index.html file.
Removed limit++ from show_activity function, as it was not needed. It was returning 1 too many records.