spring security - userdetails integration