adding post in framework