added POST for creating a post