Fix clock sync problems

When clocks are out of sync between hosts, improper logouts can occur. This stops this by not logging out when last activity is in the future in comparison to the local clock.