fix #43: foodrun route working

use @data in beforeaction
use userId instead of user in globalbeforeaction