added http_usernmae and http_realm  AND  rewrote the documentation