authenticated decorator
optimize bb module