anchor.diff:          Connect = exmpp_session:connect_TCP(Session, Domain, 5222),
           ok = element(1, Connect),
           {ok, FullJID} = exmpp_session:login(Session, "DIGEST-MD5"),
  -	{FullJID, Session}
  +	{ok, {FullJID, Session}}
       catch
  -	_Class:_Error -> false
  +	_Class:Error -> {error, Error}
       end.
   
   -spec route_update(binary(), binary()) -> ok.
  
positive.code: 	Form = ej2j_helper:form_parse(FormElement),
  	JID = ej2j_helper:form_field(Form, <<"jid">>),
  	Password = ej2j_helper:form_field(Form, <<"password">>),
  	UserSession = start_client(SenderJID, JID, Password),
          Status = exmpp_presence:set_status(exmpp_presence:available(), undefined),
          Roster = exmpp_client_roster:get_roster(),
          send_packet(Session, exmpp_iq:result(IQ)),
  
negative.code: stop() ->
      gen_server:call(?MODULE, stop).
  
  -spec start_client(tuple(), list(), list()) -> {ok, pid()} | {error, any()}.
  start_client(OwnerJID, ForeignJID, Password) ->
      gen_server:call(?MODULE, {start_client, OwnerJID, ForeignJID, Password}).
  
  