user session bug fixed