fix bugs, add admin role