adding more stuff from the internet to try and get logout to work
adding text searching