Adding front page and detail page