login page status checking and updating lastlogin, lastaccess
fields simultaneously