Fixed bugs in api calls

jquery requires a response body for valid json reponses
Added default dates for Post forms
Added location refer to edit page after new post success