sendmessage page init