Add updateLastLogin function
Update the player's last login if login is successful