Updated handler and added a timer to update state
Added open-up auth and changed dialog icon
Added renegotiation code