def METHOD_NAME():
	# Query for the User.username column for users with chat_authorized == True
    result = g.db.query(User.username).filter(User.chat_authorized == True).all()
    # Convert the list of tuples into a flat list of usernames
    userlist = [item[0] for item in result]
    return userlist