change admin to check role

change admin to check role