Moved language and expiry into config so that the server and client have the data available to them
Distinguished between existing post and new post
Made delete work