Implementation of creating, listing and showing posts