added authentication & register tests