Add plugin_user_move function
Remove pass-by-reference error