Added postFrom param. Edits to infer proper url to redirect to.