auth(auth_type):
    outer_wrapper(func):
        wrapper(*args, **kwargs):
            auth_type==:
                username = ().strip()
                password = ().strip()
                user == username passwd == password:
                    ()
                    res = func(*args, **kwargs)
                    res
                :
                    ()
            auth_type==:
                ()
        wrapper
    outer_wrapper

index():
    ()
@(=)
home():
    ()
    @(=)
bbs():
    ()

index()
home()
bbs()