joined ip_owners table with login_histories