configure guard and spock