viewBag and render function in Controller and more fixes.