Created a login system using htaccess. Also now prevents people from accessing .json files