Did preliminary validation for editing posts. First save before adding in logic so edit post form creates or updates a post depending on how a User got to the page