Configuring & enabling spring security and added required resources and
services