Added backend for adding posts