fixed issue with UserActions.php