added authentication to accounts, users, and clients