setup sample spring security with get method