ajaxy stuff for blog app