Implement triggering events following last route change.

It triggers events from last route change when new users start syncing events. First the route change is triggered and after a delay of 300ms following events are triggered.
300ms delay is added so the route change would finish rendring new template. If we trigger events immediately some of the following events get triggered on the page before the
new route page. Needs a reliabe FIX: (GUIDE: I am using XXX: tags in the commit messages so we can easily search commits in future for checking todos remaining/features to fix etc. I don't know how good it will be, but let's experiment.)
Implement Syncing login and logout.

Still need to login the users who join after people on sync are already logged in.
Log users in when they first join the sync if those on sync are logged in.

Also log out user when she first sync if she is already logged in before
joining sync, let's log them out so their login state won't interfere with others
this is to bring everyone on same page.

Need to find a reliable way to make sure last login event
is played and user is logged in successfully before playing last route event