Security changes

Enabled CustomUserDetailsService interface