Add method example for homepage from server