Add search and logout