Added methods to SpringController class