Updated eventlog page to use page function
updated incorrectly named variable reference
updated sql queries
Merge PR#336: Updated eventlog page to use paged results
Stylistic fixes
Add pagination at top