added view logs to admin page