Basic logic implemented for SignIn button.