adding click handler to sign in