adding the sample for security @PreAuthorize annotation