added an extra route (/latest) and making a call to that to fetch latest

Noticed history wasn't loading after restarting the server.  Looks like it was trying to be passed in the /events call, but wasn't working.  I added a new route (/latest) which is then hit from the client side after a connection is established and the latest data is then fed to the client.