added user account levels, updated table gen code, closes #5 and closes #11