As you\'ll see in the picture, data with time \'left\' gets inserted in every field \'left\' under the name of current user. This is because in function logout() I find the user
Please note that your table will become huge if a lot of users login and logout, old data don't seem relevant if you want to implement the last seen feature of a messaging chat app