added basic spring security configuration.