Returning 404 if apikey is invalid