posts saved inthe db and showed in a basic table