I have created a script that uses a function called "authenticateuser", when I enter the wrong user name and password the program correctly works, but when I enter the correct credentials it still returns failed. Tried moving things around but could not find the solution. Are things not in the right place or am I missing some final code?

```
loggedin = False
wrongcount = 0

def authenticateuser(theusername, thepassword):
    theusername = "homerjsimpson"
    thepassword = "marge"

def main():

    username = ""
    password = ""   

while loggedin == False and wrongcount < 5:
    username = input("Please enter username: ")
    password = input("Please enter password: ")
    if password == authenticateuser and username == authenticateuser:
        loggedin = True
    else:
        print("Authentication Failed")
        wrongcount = wrongcount + 1
        loggedin = False

if(loggedin == True):
    print("Welcome to the program!")
else:
    print("Locked Out")

main()

```