add homepage method