more code style cleaning
got User foreign ID to save into scrap table