Function passed in a function example

def login_required(func):
def wrapper(username,password, *args,**kwargs):
if username in users and users[usename] == password:
func(*args)
else:
print(“Non authenticated”)

def add(a,b):
print(a+b)

p_add = login_required(add)
type(p_add)

result = NoneType

I have written this function and type of p_add should be function (wrapper one). But it is coming NoneType. Why?