update check_user_detail decorator