switched main page to mvc