moved ping() call to logout to record last_logged_in status and removed unconfirmed section from home.html