added the user session loging concept