Adding Spring Security support