Send message by user id instead of phone number and add better error checking