fixed db wiped out issue; user can subscribe/unsubscribe a category