Frontcontroller and errors