added spring security support