finished login page and fixed the search terms