added admin function and admin to users