implemented search
implemented removal of unused sessions and images