Clean up unused code

Edit view on home controller