Moved most of profile page to MVC architecture