changed if statment to include error message if user is not enabled