setting permissions and adding admin