submit and delete posts via firebase