Added layouts message display
and added call backs