added route for create post
added catch-all route and a utility function to remove property before sending it to client side