search now working. login and logout now working