I renamed checkPassword=>signIn and createAccount=>signUp for consistency.