Add session check for showing logs and search
Move session checking to application controller