define user and admin accounts and operations