fix bug with stale data
add ubsubscribe as an ajax function, clean up comments in templates