fix view detail admin and index page in user module