added authentication to the user table and to the tests