Finish test for user

write in call back function