userdetail plugger on rest api