added basic configuration for spring web mvc and spring security