Updated index to include the hash to show logged in user