front page functionality finished