class for homepage