adjusting generator for last_login_from_ip_address attribute