add authentification_key check in locale