added .htaccess to api