improve explanation of parse_login_page method