add session newItem conter. which is not working properly.
log to find errors. to be continued :)