implemented call back for conversation view controller and chat view controller