add test cases for sign in