added configuration for spring