handling client side new post