Added message_type to location publish and at logoff