Added linking of accounts while login