get ip and user