Added association between User and Permission; deleted some testing code