add internal signIn and createAccount methods