debugging in front controller