fix search box and destroy user issue