add home timeline request & test, extend realloc logic in writeCallback