I have a flag named as login_status in my user table database. The flag set for 1 when a user login and set for 0 when user logout. But when logout automatically for session exp