session implemented, search working