added all frontpage functionality