@RequestMapping(method = RequestMethod.GET)
	public ModelAndView indexView(HttpServletRequest paramHttpServletRequest, 
			@RequestParam(value = "success", required=false) Boolean successRedirectAttr) {
		ModelAndView modelAndView = new ModelAndView();
		if (isAuthenticated(paramHttpServletRequest)) {
			modelAndView.addObject("stats", imageService.getDBStats());
			modelAndView.setViewName("maintenancePage");
			if (successRedirectAttr != null) {
				if (successRedirectAttr) {
					modelAndView.addObject("success", context.getMessage("app.maintenance.db.clear.success", null, Locale.getDefault()));
				} else {
					modelAndView.addObject("error", context.getMessage("app.maintenance.db.clear.error", null, Locale.getDefault()));
				}
			}
		} else {
			if (isMaxAttempts(paramHttpServletRequest)) {
				modelAndView.addObject("showCaptcha", "showCaptcha");
			}
			modelAndView.setViewName("maintenanceAuthPage");
		}
		return modelAndView;
	}