Just got an idea!
Kindly guide me how to fetch Last login data timestamp to display in current login view. It shouldn't affect new login's record updates!
One option would be to create a table for login data. When users login to your system, go to this table and perform a find to determine the last login and set it in a global variable (that's what you can display in your example). Then make a new record with their accountName and the login timestamp for the current login. After that, continue with your regular login routine to arrive at the appropriate layout for the user.
Retrieving data ...