Added a spring controller