yes, that is the problem.
the connection file will create a variable based on the name of the file.
the Connections/rr.php file creates a variable named $rr
the Connections/login.php would create the variable named $login
the authenticate user code was created using the Connections/login.php connection file, but that connection is not present on the page.