updated message and auth mehtod