i want to create a log in in python...
but when i run the program there's have an error

Traceback (most recent call last):
File "E:\private\2000b1a5\default.py", line 81,
in menu_action
f()

File "E:\privite\20001a5\default.py", line 65,
in query_and_exec
execfile(script_list[index][1].encode('utf-8'), script_namespace.namespace)

File "e:\python\Login.py", line 20
return(info)
SyntaxError: 'return' outside function

here's my code

Code:
import appuifw,e32

pwd = u"Admin"
id = u"Admin"



def login_quit():
    app_lock.signal()

info =appuifw.multi_query(u"Username:" , u"Password:")

if info:
    login_id, login_pwd = info
    if login_pwd == pwd and login_id == id: 
        appuifw.note(u"Login successful", "conf")
        
    else:
        appuifw.note(u"Wrong User Name & Password", "error")
        return(info)
        
else:
   appuifw.note(u"Exit!")

thank you for advance