login redirects to tree view