formatting
add documentation and authentication header