Added authentification to pins