run it with visual studio 2017 and take a look at the index page(at the view folder) along with login model(in the model folder) along with Home controller
#Reference links https://www.youtube.com/watch?v=Lvh1Gy9-5Ms https://docs.microsoft.com/en-us/aspnet/core/?view=aspnetcore-2.1 https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/authoring?view=aspnetcore-2.1 https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/intro?view=aspnetcore-2.1 https://jonhilton.net/2017/08/17/how-to-get-data-from-an-html-form-to-your-asp.net-mvc-core-controller/