Separating the authentication request into two files.