There are extension points to allow you to add your module’s template directory in the TWIG rendering engine’s environment. At that point you can override the template files of the login page without touching core code.
My skeleton module even has an example that overrides the login page that you can look to as an example.
@Ratana_Surya, you can take a look at some generic code we have made available here. It does require a small patch to a library that is invoked by all scripts. That change will check couple of tables to see if your local installation has any active customization(s) for current script. Since we wanted to treat standard code as a blackbox, we use PHP’s shutdown function feature to perform modifications to html generated by standard scripts.
@adunsulag
Thank you for your answer,
I tried to watch and understand the video
Hopefully this can help me understand more about application development