Added showing logs logic to Admin controller