created buttons and worked on communication through posts