Update HomeController.cs

Home controller updated for the sidebar logic with partial view