display user leaves on index frontend