public class LoginController extends AbstractBackofficeQalingoController {
@RequestMapping(BoUrls.LOGIN_URL)
public ModelAndView login(final HttpServletRequest request, final Model model) throws Exception {
ModelAndViewThemeDevice modelAndView = new ModelAndViewThemeDevice(getCurrentVelocityPath(request), BoUrls.LOGIN.getVelocityPage());
final RequestData requestData = requestUtil.getRequestData(request);
final Locale locale = requestData.getLocale();
// SANITY CHECK: User logged
final User currentUser = requestUtil.getCurrentUser(request);
if(currentUser != null){
final String url = backofficeUrlService.generateUrl(BoUrls.PERSONAL_DETAILS, requestUtil.getRequestData(request));