Add user loging simulation code