added code to send message to phone when loading page