Integrate login scan function.