Add valid impression check to application controller