Finished documentation and security issue fix