a demo for spring security with database