mv debug code to function
rm user_id for lastid api
update readme for last_read api