Basics example for spring security