fixed changes to creating and updating posts. Still no account validation.