Spring security configuration for REST sexessfully done