adding login, changing search panel to tree