add search, and logout after delete