add error messages for new post view