Minor fix.
Set model of user and permission.