update loggedin.html