refactored send_to_user()