converted front page and view page to ember