face recognition and idle mode added