Added show logs button
Added rest endpoint to fetch logs