login request flow documentation

can someone please point me to documentation on user authentication request flow with Openmrs RA 2.7.0. I am trying to understand how login is handled in reference application, how the request flows from login.htm to /home.page. I looked in the wiki but could not find detailed information, I am not sure if I am looking in the right place.I appreciate your help. Thanks

Is this of any help? https://github.com/openmrs/openmrs-module-referenceapplication/blob/master/omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/LoginPageController.java#L171-L282