fixed comms model and view for showing data from db.