store last login time and ip imformation