added nd template and home ocntroller