loginhistory change and clients search based on status