HomeController bug fix and ignoring .idea folder