added @userdetail to index to help find id