added in deleting of roles and permissions functions, also fixed up some errors