added some tests to the userauth