improve uhandler so it actually works

base64_encode data, remove testing files, allow through .htaccess