update func for email search and proLogin class