Added documentation and auth_required decorators