Added a SignIn function.