add indentations and authorization comments