added update last login during login process