[feature029] add check user role and logout