updated frontpage handling