Added homepage and authentication to diagnostics controller